import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import dataV from '@jiaminghi/data-view';
import * as echarts from 'echarts';

//全局引入highecharts
import highcharts from 'highcharts'
import highcharts3d from 'highcharts/highcharts-3d'
highcharts3d(highcharts)

//引入全局指令
import Directives from './directives';
Vue.use(Directives);



//引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);//全局使用element-ui



//引入全局css
import './assets/less/common.less'
import './assets/less/font.less'

Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.use(dataV);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
